package
{
	import controller.GameController;
	
	import flash.display.Sprite;
	
	import model.keyboard.ControllBinder;
	import model.TetrisGame;
	import view.GameView;
	
	public class TetrisFB extends Sprite
	{
		public function TetrisFB()
		{
			var game:TetrisGame = new TetrisGame();			
			this.addChild(new GameView(game));
			
			var controllBinder:ControllBinder = new ControllBinder(new GameController(game), this.stage);
			controllBinder.bind();
		}
	}
}